package CustomCMS
{
	public class Util
	{
		public function Util()
		{ 
		}
		
		public static var Version:String = "1.1.7";

		public static function ValidFileName(name:String):Boolean
		{
			var regex:RegExp = new RegExp("^[^\\\/\:\*\?\"\<\>\|\&]+$","gi");			
			
			if(name.match(regex).length == 0)
				return false;
			else
				return true;
		}
	}
}